﻿@model EmgrMvc.Models.SqlCommand
@{
    ViewData["Title"] = "Sql";
}

<h2>Sql</h2>
<hr />
<div class="row">
    <div class="col-md-4">
        <form asp-action="Sql">
            <div class="form-group">
                <label asp-for="Text" class="control-label">SQL Command</label>
                <input asp-for="Text" class="form-control" />
            </div>
            <div class="form-group">
                <label asp-for="Result" class="control-label">Result</label>
                <label asp-for="Result" class="form-control" />
            </div>
            <button type="submit" name="Action" value="Execute">执行SQL语句</button>
        </form>
    </div>
</div>


